Command Line Options

VisualApplets offers some command line arguments in order to use VisualApplets, for example, in batch scripts, or for linking the program into a system environment.

The syntax follows the following scheme:

<VISUALAPPLETSINSTALLDIR>\VisualApplets <-COMMAND> <ARGUMENTS>

The commands, together with the expected arguments, are listed in the following table:

Command Line Argument & Meaning

-file

Execute commands stored in a specified Tcl script.

Arguments:

  • Filename of Tcl script (*.tcl)

-compile

Load a specified file and create an applet. The design will be checked against the design rules.

Arguments:

  • Filename of VisualApplets design file (*.va)

  • Filename of resulting applet file (*.hap)

-merge

Merges a microEnable IV applet file with a PixelPlant applet file. A check for suitability of both source applet files will be done.

Arguments:

  • Filename of mother board applet (*.hap)

  • Filename of PixelPlant applet (*.hap)

  • Filename of resulting applet file

-sdk

Generates an SDK Example (C source code) for using the applet inside the Runtime. The design will be checked against the design rules.

Arguments:

  • Filename of VisualApplets design file (*.va)

  • Filename of PixelPlant applet file (*.hap)

-KeepSyntheseTraceFiles

Additional option when generating a hardware applet. Keeps the intermediate files (created during the build process) for tracing purposes after the build is completed.

<VAFilename>

Load a specified VisualApplets design file.

Used, for example, when assigning *.va files for opening by double click inside the Explorer.

Arguments:

  • Filename of VisualApplets design file (*.va)

Table 4. Command Line Options and According Arguments